Composition of UML Class Diagrams Using Category Theory and External Constraints
نویسندگان
چکیده
In large software development projects, there is always a need for refactoring and optimization of the design. Usually designs are represented using UML diagrams (e.g., class diagrams). A engineering team may create multiple versions satisfying some external constraints. cases, subdiagrams developed can be selected combined into one diagram. It difficult to perform this task manually since manual process very time consuming, prone human errors, not manageable projects. paper, we present algorithmic support automating generation composing diagrams, where composed diagram satisfies given collection constraints optimal with respect objective function. The composition based on colimit operation from category theory. approach was verified experimentally by generating random (expressed in SPARQL OWL), these constraints, that satisfy computing metrics each
منابع مشابه
Simplification and Correctness of UML Class Diagrams - Focusing on Multiplicity and Aggregation/Composition Constraints
Model-driven Engineering requires efficient powerful methods for verifying model correctness and quality. Class Diagram is the central language within UML. Its main problems involve correctness problems, which include the consistency and the finite satisfiability problems, and quality problems, which include the redundancy and incomplete design problems. Two central constraints in class diagram...
متن کاملSynchronizing Refactored UML Class Diagrams and OCL Constraints
UML class diagrams are usually annotated with OCL expressions that constrain their possible instantiation. In our work we have investigated how OCL annotations can be automatically updated each time the underlying diagram is refactored. All our refactoring rules are formally specified using a QVT-based graphical formalism and have been implemented in our tool ROCLET. I. REFACTORING CLASS DIAGRA...
متن کاملCategory Theory Using String Diagrams
In [Fokkinga, 1992a], [Fokkinga, 1992b] and [Fokkinga and Meertens, 1994] a calculational approach to category theory is developed. The scheme has many merits, but sacrifices useful type information in the move to an equational style of reasoning. By contrast, traditional proofs by diagram pasting retain the vital type information, but poorly express the reasoning and development of categorical...
متن کاملSuperposing UML class diagrams
There is a close connection between superposition-based design and aspect-orientation [6, 7, 10]. In [11] three steps were identi ed when composing modules describing overlapping concerns: matching units describing the same concepts, reconciliation of their possible di erences, and integration of the units. These problems, as well as many concerning distribution, have already been studied in th...
متن کاملQuerying UML Class Diagrams
UML Class Diagrams (UCDs) are the best known class-based formalism for conceptual modeling. They are used by software engineers to model the intensional structure of a system in terms of classes, attributes and operations, and to express constraints that must hold for every instance of the system. Reasoning over UCDs is of paramount importance in design, validation, maintenance and system analy...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
ژورنال
عنوان ژورنال: Journal of Software Engineering and Applications
سال: 2022
ISSN: ['1945-3116', '1945-3124']
DOI: https://doi.org/10.4236/jsea.2022.1512025